#pragma once

#include <vector>

#include <gtl/ui/skins/pane.h>

namespace gtl
{

namespace skins
{

class fonts
	: public manager<fonts, 'font'>
{
	auto_reg_to_the_factory();

public:
	fonts();
	virtual ~fonts();

public:
	virtual unsigned int initialize(gtl::xml& node, wnd* parent_wnd);
	virtual font* get_font(const gtl::tstr& name);

protected:
	std::vector<std::pair<gtl::tstr, font*>> m_fonts;
};

} // end of namespace skins

} // end of namespace gtl